package com.linsy.product.redis.mq.entity;

import lombok.Data;

import java.util.List;

/**
 * 消息发送统一DTO
 */
@Data
public class PutMsgDTO {

    public PutMsgDTO() {
    }

    public PutMsgDTO(String key, List<Object> value) {
        this.key = key;
        this.value = value;
    }

    private String key;//键
    private List<Object> value;//值

}
